<%--
  Created by IntelliJ IDEA.
  User: juyee
  Date: 13-7-1
  Time: 上午11:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript" src="${appPath}view/js/common/tree.js"></script>
<script type="text/javascript" src="${appPath}view/js/demo/init.js"></script>
<div id="loading"
     style="position: absolute; z-index: 1000; top: 0px; left: 0px; width: 100%; height: 100%; background: #DDDDDB; text-align: center; padding-top: 20%;"></div>
<div>

    <div class="easyui-layout" style="width:100%;height:100%;">
        <div data-options="region:'west',split:true" style="width:200px;">
            <div class="parent">
                <div id="${moduleName}treeDiv">
                    <!-- tree component -->
                    <ul id="${moduleName}tree" class="ztree"></ul>
                </div>
            </div>
        </div>
        <div data-options="region:'center',iconCls:'icon-ok'">
            <div class="parent">
                <div id="${moduleName}searchBoxDiv">
                    <div id="${moduleName}simpleSearchPanel">
                    <select id="${moduleName}searchProperty" name="property">
                        <option value="all">所有属性</option>
                    </select>
                    <input id="${moduleName}searchBox"/>
                    <a href="#" id="${moduleName}advanceSearch">高级查询</a>
                    </div>
                    <div id="${moduleName}advanceSearchPanel" style="width:200px;height:100px;">
                        <from id="${moduleName}advanceSearchForm">
                            <table style="width:700px;">
                                <tbody>
                                <tr style="width: 300px">
                                    <td>property1</td>
                                    <td><input type="text" name="property1"></td>
                                    <td>property2</td>
                                    <td><input type="text" name="property2"></td>
                                </tr>
                                </tbody>
                            </table>
                            <div style="width: 700px;text-align: center;">
                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok"
                                   onclick="searchGrid()">查询</a>
                                <a href="javascript:void(0)" class="easyui-linkbutton"
                                   onclick="resetSearchForm()">重置</a>
                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel"
                                   onclick="hideAdvanceSearchPanel()">隐藏</a>
                            </div>
                        </from>
                    </div>
                </div>

                <div id="${moduleName}dataGridDiv" class="easyui-panel" title="列表">
                    <!-- table component -->
                    <table id="${moduleName}dataGrid"></table>
                </div>
            </div>

            <div class="parent">
                <div id="${moduleName}inputDiv" class="easyui-panel" title="">
                    <!-- formData component -->
                    <form id="${moduleName}formData" method="post">
                        <!-- button component -->
                        <div id="dlg-buttons">
                            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok"
                               onclick="submitForm()">提交</a>
                            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="resetForm()">重置</a>
                            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel"
                               onclick="back()">返回</a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

</div>  
